<?php
$db['master'] = array(
		'type' => Swoole\Database::TYPE_MYSQLi,
		'host' => "127.0.0.1",
		'port' => 3306,
		'dbms' => 'mysql',
		'engine' => 'MyISAM',
		'user' => "root",
		'passwd' => "",
		'name' => "test",
		'charset' => "utf8",
		'setname' => true,
		'persistent' => false, // MySQL长连接
); 


$db['huya'] = array(
		'type' => Swoole\Database::TYPE_MYSQLi,
		'host' => "172.19.104.157",
		'port' => 3306,
		'dbms' => 'mysql',
		'engine' => 'MyISAM',
		'user' => "root",
		'passwd' => "root",
		'name' => "live",
		'charset' => "utf8",
		'setname' => true,
		'persistent' => false 
); // MySQL长连接


return $db;